package com.rui.service;

import com.rui.entity.StudentSubject;

import java.util.List;

/**
 * Created by Administrator on 2017/4/14.
 */
public interface StudentSubjectService {

    void add(StudentSubject studentSubject);

    void delete(Integer id);

    void update(StudentSubject studentSubject);

    StudentSubject findOne(Integer id);

    List<StudentSubject> findStudentSubjects(String realName,String subName,Integer pageSize,Integer pageIndex);

    Integer findTotalPage(String realName,String subName,Integer pageSize);

    Integer findCount(Integer stuId,Integer subId,Integer id);

    List<StudentSubject> findPersonSubjects(Integer stuId,Integer pageSize,Integer pageIndex);

    Integer findTotalPage(Integer stuId,Integer pageSize);
}
